package com.xinpu.service;

import com.xinpu.dto.FollowDto;

import java.util.List;

/**
 * FollowService
 *
 * @author ayuan
 * @date 2021/4/20
 */
public interface FollowService {
    /**
     * 跟进记录
     *
     * @param uid
     * @return
     */
    List<FollowDto> getList(Integer uid);


    /**
     * 跟进统计
     *
     * @param type 2签到 3跟进
     * @param sid
     * @param day
     * @return
     */
    int followCount(Integer type, Integer sid, Integer day);

    /**
     * 用户或线索跟进统计
     *
     * @param type 0客户1线索
     * @param pid
     * @param day
     * @return
     */
    int userOrClueFollowCount(Integer type, Integer pid, Integer day);
}
